home *** CD-ROM | disk | FTP | other *** search
/ Aminet 3 / Aminet 3 - July 1994.iso / Aminet / util / cli / ECmd21p_bin.lha / ExtraCmds / doc / Common.man next >
Encoding:
Text File  |  1993-12-28  |  1.9 KB  |  67 lines

  1.  
  2.  
  3.  
  4. Common(V37)                                           Common(V37)
  5.  
  6.  
  7. FFOORRMMAATT
  8.        CCOOMMMMOONN [FFIILLEE11] _f_i_l_e_1 [[FFIILLEE22] _f_i_l_e_2] [--11] [--22] [--33]
  9.  
  10. TTEEMMPPLLAATTEE
  11.        FFIILLEE11//AA,,FFIILLEE22,,--11//SS,,--22//SS,,--33//SS
  12.  
  13. PPUURRPPOOSSEE
  14.        To select or reject lines common to two sorted files.
  15.  
  16. SSPPEECCIIFFIICCAATTIIOONN
  17.        The  command CCOOMMMMOONN reads _f_i_l_e_1 and _f_i_l_e_2, which should be
  18.        ordered in the collating sequence of SSOORRTT, and produces  a
  19.        three-column  output:  lines  only in _f_i_l_e_1; lines only in
  20.        _f_i_l_e_2; and lines in both files.
  21.  
  22.        Switches --11, --22, or --33 suppress  printing  of  the  corre­
  23.        sponding  column.  Thus CCOOMMMMOONN --11 --22 prints only the lines
  24.        common to the two files; CCOOMMMMOONN  --22  --33  prints  only  the
  25.        lines  in  the first file but not in the second; CCOOMMMMOONN --11
  26.        --22 --33 is a no-op.
  27.  
  28.        If _f_i_l_e_2 is not given, the default input will be used.
  29.  
  30. SSEEEE AALLSSOO
  31.        CCOOMMPPAARREE(V37), PPRREEPPAARREE(V37), SSOORRTT(AmigaDOS), UUNNIIQQUUEE(V37)
  32.  
  33. UUNNIIXX EEQQUUIIVVAALLEENNTT
  34.        ccoommmm(1)
  35.  
  36. AAUUTTHHOORR
  37.        Torsten Poulin (torsten@diku.dk)
  38.  
  39. UUNNRREESSTTRRIICCTTIIOONNSS
  40.        CCOOMMMMOONN is free; anyone may redistribute copies  of  CCOOMMMMOONN
  41.        to anyone under the terms stated in the GNU General Public
  42.        Licence, a copy of which accompanies each copy of  CCOOMMMMOONN.
  43.  
  44.        Torsten  Poulin  encourages you to improve and extend CCOOMM­­
  45.        MMOONN, and urges that you contribute your extensions to  the
  46.        world.
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. Common version 37.5      11 February 1993                       1
  65.  
  66.  
  67.